/* 焦点图样式 */
.focus {
	height: 600px;
	width: 1200px;
	margin: 30px auto;
	overflow: hidden;
	position: relative;
}

.focus .indicator-dots {
	position: absolute;
	right: 100px;
	bottom: 50px;
}

.focus .indicator-dots li {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	margin-right: 10px;
	text-align: center;
	line-height: 20px;
	background: #ef5d5d;
	color: #fff;
	cursor: pointer;
}

/*下拉加载时的等待图标*/
.tips {
	width: 65px;
	height: 65px;
	position: fixed;
	bottom: 100px;
	left: 50%;
	margin-left: -32px;
	z-index: 9999;
	display: none;
	border-radius: 50%;
}

/* 内容展示区域 */
.widget-title {
	padding: 0;
	margin: 50px 0 30px 0;
	text-align: center;
	border-bottom: none;
	height: 36px;
	line-height: 36px;
	clear: both;
	color: #555;
	position: relative;
}

.widget-title:before {
	background: #cccccc;
	content: "";
	display: block;
	height: 1px;
	left: 50%;
	margin-left: -13%;
	padding: 0;
	position: absolute;
	top: 50%;
	width: 26%;
}

.widget-title span {
	z-index: 999;
	position: relative;
	display: inline-block;
	background-color: #fff;
	width: 110px;
	font-size: 20px;
}

h2 {
	font-size: 22px;
	display: block;
	font-size: 1.5em;
	font-weight: normal;
}

.wrapper {
	width: 1200px;
	margin: 20px auto;
}

.product-grid {
	margin-bottom: 20px;
}


.product-wrapper {
	background-color: #fff;
	width: 275px;
	display: inline-block;
	margin-bottom: 20px;
}

.product-wrapper:nth-child(2) {
	margin-left: 26px;
	margin-right: 26px;
}

.product-wrapper:nth-child(3) {
	margin-right: 26px;
}

/* css 还没学，暂时不用 */

/* .product-wrapper:hover {
	-webkit-box-shadow: 0 7px 16px #dcdcdc;
	-moz-box-shadow: 0 7px 16px #dcdcdc;
	box-shadow: 0 7px 16px #dcdcdc;
} */


.product-wrapper .product-image {
	/*如果需要在图片中显示文字内容，需要下面两个属性，否则用不到*/
	position: relative;
	text-align: center;
}

.product-wrapper .product-image a {
	display: block;
}

.product-wrapper .product-image img {
	margin-right: auto;
	margin-left: auto;
	width: 100%;
}

.product-wrapper .product-info {
	padding: 15px 10px;
}

.product-wrapper .product-info .product-name {
	overflow: hidden;
	height: 20px;
	margin-bottom: 8px;
}

.product-wrapper .product-info .product-name a {
	font-size: 15px;
	font-weight: 400;
	color: #020202;
}

.product-wrapper .product-info .product-name a:hover {
	color: #ef5d5d;
}


.product-wrapper .product-info .product-price {
	margin-bottom: 10px;
}

.product-wrapper .product-info .product-price .price-new {
	font-size: 16px;
	font-weight: 600;
	color: #ef5d5d;
}

.product-wrapper .product-info .product-price .price-old {
	font-size: 14px;
	text-decoration: line-through;
}

.product-wrapper .product-info .product-rating {
	position: relative;
	padding-bottom: 19px;
}

.product-wrapper .product-info .product-rating::before {
	position: absolute;
	content: "";
	height: 1px;
	width: 100px;
	top: 28px;
	left: 0px;
	background: #ddd;
}

.product-wrapper .product-info .product-rating span {
	font-size: 8px;
	width: 14px;
	height: 14px;
}

.product-wrapper .product-info .product-rating span i {
	color: #f7bc3d;
	height: 11px;
	line-height: 11px;
}

.product-wrapper .product-info .product-action button {
	font-size: 12px;
	margin: 2px 0;
	padding: 3px 8px;
	border: 1px solid #ef5d5d;
	background-color: transparent;
}

.product-wrapper .product-info .product-action button:hover {
	color: #fff;
	border-color: #ef5d5d;
	background-color: #ef5d5d;
}

.product-wrapper .product-info .product-action .add-to-cart {
	background-color: #ef5d5d;
	color: #fff;
}

.product-wrapper .product-info .product-action .add-to-cart:hover {
	background-color: #000;
	border: 1px solid  #000;
}
/* 默认让收藏和对比按钮隐藏 */
.product-wrapper .product-info .product-action .ps-add-buyincang {
	visibility: hidden;
	float: right;
}
/* 鼠标悬浮到商品盒子上时让收藏和对比按钮显示 */
.product-wrapper:hover #btn-visible {
	visibility: visible;
}
.product-wrapper .product-info .product-action .ps-add-buyincang button {
	border: 1px solid #c2c2c2;
	background-color: transparent;
	color: #555;
}

.product-wrapper .product-info .product-action .ps-add-buyincang button:hover {
	color: #fff;
	border-color: #ef5d5d;
	background-color: #ef5d5d;	/* -webkit-transition: all 0.2s ease-out;
		-moz-transition: all 0.2s ease-out;
		-o-transition: all 0.2s ease-out;
		transition: all 0.2s ease-out; */
}

.product-wrapper .product-info .product-action .ps-add-buyincang:hover {
	visibility: visible;
}
.selected{
	background: #fff !important;
	color: #000 !important;
}
